package com.xsoft.logic.model;

/**
 * TdAd entity. @author MyEclipse Persistence Tools
 */

public class TdAd extends com.xsoft.framework.po.IdPersistent implements
		java.io.Serializable
{

	// Fields

	private Integer id;
	private Integer adId;
	private String gameId;
	private Integer channelId;
	private String authToken;
	private String state;
	private String activeType;
	
	private String url;

	// Constructors

	/** default constructor */
	public TdAd()
	{
	}

	public String getState()
	{
		return state;
	}

	public String getActiveType()
	{
		return activeType;
	}

	public void setActiveType(String activeType)
	{
		this.activeType = activeType;
	}

	public String getUrl()
	{
		return url;
	}

	public void setUrl(String url)
	{
		this.url = url;
	}

	public void setState(String state)
	{
		this.state = state;
	}

	/** full constructor */
	public TdAd(Integer adId, String gameId, Integer channelId, String authToken,String state)
	{
		this.adId = adId;
		this.gameId = gameId;
		this.channelId = channelId;
		this.authToken = authToken;
		this.state = state;
	}

	// Property accessors

	public Integer getId()
	{
		return this.id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getAdId()
	{
		return this.adId;
	}

	public void setAdId(Integer adId)
	{
		this.adId = adId;
	}

	public String getGameId()
	{
		return this.gameId;
	}

	public void setGameId(String gameId)
	{
		this.gameId = gameId;
	}

	public Integer getChannelId()
	{
		return this.channelId;
	}

	public void setChannelId(Integer channelId)
	{
		this.channelId = channelId;
	}

	public String getAuthToken()
	{
		return this.authToken;
	}

	public void setAuthToken(String authToken)
	{
		this.authToken = authToken;
	}

}